package com.ruoyi.project.info.appointment.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 预约信息对象 appointment
 *
 * @author wzm
 * @date 2022-09-07
 */
public class AppointmentUpdate
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 预约状态 */
    @Excel(name = "预约状态", readConverterExp = "0=预约,1=到院")
    private String state;


    /** 到院时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到院时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDate;


    /** 花费金额 */
    @Excel(name = "花费金额")
    private BigDecimal amount;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(Date checkDate) {
        this.checkDate = checkDate;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
